<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>开票</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="tKpOrderOneController.do?doUpdate" >
					<input id="id" name="id" type="hidden" value="${tKpOrderOnePage.id }"/>
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
					<tr>
						<td align="right">
							<label class="Validform_label">
								订单日期:
							</label>
						</td>
						<td class="value">
									  <input id="docDate" name="docDate" type="text" style="width: 150px"  class="Wdate" onClick="WdatePicker()"  ignore="ignore" value='<fmt:formatDate value='${tKpOrderOnePage.docDate}' type="date" pattern="yyyy-MM-dd"/>'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">订单日期</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								订单状态:
							</label>
						</td>
						<td class="value">
						    <input id="orStatus" name="orStatus" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.orStatus}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">订单状态</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								订单类型:
							</label>
						</td>
						<td class="value">
						    <input id="orderType" name="orderType" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.orderType}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">订单类型</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								客户编码:
							</label>
						</td>
						<td class="value">
						    <input id="cusCode" name="cusCode" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cusCode}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">客户编码</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								客户名称:
							</label>
						</td>
						<td class="value">
						    <input id="cusName" name="cusName" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cusName}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">客户名称</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								客户类型:
							</label>
						</td>
						<td class="value">
						    <input id="cusType" name="cusType" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cusType}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">客户类型</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								工地编码:
							</label>
						</td>
						<td class="value">
						    <input id="gdCode" name="gdCode" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.gdCode}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">工地编码</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								工地名称:
							</label>
						</td>
						<td class="value">
						    <input id="gdName" name="gdName" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.gdName}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">工地名称</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								产品编码:
							</label>
						</td>
						<td class="value">
						    <input id="cpCode" name="cpCode" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cpCode}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">产品编码</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								产品名称:
							</label>
						</td>
						<td class="value">
							<input id="cpName" name="cpName" type="text" style="width: 150px" class="searchbox-inputtext"  ignore="ignore"  onclick="popupClick(this,'1','1','pop_kp_jiage_one')" value='${tKpOrderOnePage.cpName}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">产品名称</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								规格*等级:
							</label>
						</td>
						<td class="value">
						    <input id="cpGuige" name="cpGuige" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cpGuige}'/>
							<input id="cpDengji" name="cpDengji" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cpDengji}'/>

							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">规格*等级</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								单位:
							</label>
						</td>
						<td class="value">
						    <input id="cpJifei" name="cpJifei" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cpJifei}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">单位</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								数量:
							</label>
						</td>
						<td class="value">
						    <input id="orQty" name="orQty" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.orQty}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">数量</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								单价:
							</label>
						</td>
						<td class="value">
						    <input id="cpJiage" name="cpJiage" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.cpJiage}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">单价</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								托盘数:
							</label>
						</td>
						<td class="value">
						    <input id="orTuopan" name="orTuopan" type="text" style="width: 150px" class="inputxt" 		datatype="n" ignore="checked"  value='${tKpOrderOnePage.orTuopan}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">托盘数</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								备注:
							</label>
						</td>
						<td class="value">
						    <input id="orRemark" name="orRemark" type="text" style="width: 150px" class="inputxt"  ignore="ignore"  value='${tKpOrderOnePage.orRemark}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">备注</label>
						</td>
					</tr>
				
			</table>
		</t:formvalid>
 </body>
  <script src = "webpage/com/yserp/kp/tKpOrderOne.js"></script>		
